package com.sh.ndt.user.dao;

import com.sh.ndt.common.entity.LoginParam;
import java.util.List;

import com.sh.ndt.exception.DAOException;
import com.sh.ndt.user.entity.User;

public interface UserDAO {


    public List<User> addEditUser(User user) throws DAOException;


    public User validateUser(User UserDto) throws DAOException;

    public List<User> selectUser() throws DAOException;

    public User getUser(String userId, String primaryEmailId) throws DAOException;

    public User getUser(User userDto) throws DAOException;

//		public int addNewUserPlan(UserPlan userPlan) throws DAOException;
//		public List<UserPlan> getUserPlan(int userId) throws DAOException;
    public List<User> validateUser(LoginParam loginParam);

}
